package com.veo.dao;

import com.veo.entity.Books;
import com.veo.entity.BorrowBooks;
import com.veo.entity.User;

import java.util.List;

public interface BookManageDao {

    List<BorrowBooks> getAllBorrowBooks();

    boolean findIsbn(Books books);


    void addBorrowBooks(String userId,String bookId);

    void deleteBorrowBooks(String userId,String bookId);

    User findUserId(String idCard);

    Books findBookId(String isbn);

    boolean findBorrowBooks(String userId,String bookId);
}
